﻿<controls:ChildWindow xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="VAdvantage.Dialogs.VLocatorDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Title="VLocatorDialog" Loaded="ChildWindow_Loaded">
    <Grid x:Name="LayoutRoot" Margin="2,10,2,2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid Grid.Row="0" >
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto">                   
                </ColumnDefinition>
                <ColumnDefinition Width="150">
                </ColumnDefinition>
            </Grid.ColumnDefinitions>
            
            <sdk:Label Margin="2" Grid.Row="0" Grid.Column="0" Name="lblLocator" Content="Label" />
            <sdk:Label Margin="2" Grid.Row="2" Grid.Column="0" Name="lblWarehouseInfo" Content="Label"  />
            <sdk:Label Margin="2" Grid.Row="3" Grid.Column="0" Name="lblWarehouse" Content="Label" />
            <sdk:Label Margin="2" Grid.Row="4" Grid.Column="0" Name="lblX" Content="Label"/>
            <sdk:Label Margin="2" Grid.Row="5" Grid.Column="0" Name="lblY" Content="Label"/>
            <sdk:Label Margin="2" Grid.Row="6" Grid.Column="0" Name="lblZ" Content="Label"/>
            <sdk:Label Margin="2" Grid.Row="7" Grid.Column="0" Name="lblValue" Content="Label"/>

            <ComboBox Margin="2" Grid.Row="0" Grid.Column="1" Name="cmbLocator" />
            <CheckBox Margin="2" Name="chkCreateNew" Grid.Row="1" Grid.Column="1" />
            <TextBox Margin="2" Name="txtWarehouseInfo" Grid.Row="2" Grid.Column="1" />
            <ComboBox Margin="2" Grid.Row="3" Grid.Column="1" Name="cmbWarehouse" />
            <TextBox Margin="2" Name="txtX" Grid.Row="4" Grid.Column="1" />
            <TextBox Margin="2" Name="txtY" Grid.Row="5" Grid.Column="1" />
            <TextBox Margin="2" Name="txtZ" Grid.Row="6" Grid.Column="1" />
            <TextBox Margin="2" Name="txtValue" Grid.Row="7" Grid.Column="1" />
            
        </Grid>
        
        <Button x:Name="CancelButton" Click="CancelButton_Click" Width="35" Height="35" HorizontalAlignment="Right" Grid.Row="1" VerticalContentAlignment="Stretch" Margin="0,8,37,4">
            <Image Source="/VAdvantage;component/Images/cancel_up.png"  Stretch="Fill"></Image>
        </Button>
        <Button x:Name="OKButton" Click="OKButton_Click" Width="35" Height="35" HorizontalContentAlignment="Center" HorizontalAlignment="Right" Margin="106,8,0,4" Grid.Row="1" VerticalContentAlignment="Stretch">
            <Image Source="/VAdvantage;component/Images/right_up.png"  Stretch="Fill"></Image>
        </Button>
        
    </Grid>
</controls:ChildWindow>